Automattic\Jetpack\Waf\Waf_Runtime D

Total Complexity 127
Dependencies 7
Dependents 1
Total lines 737
Lines of code 389
Logical lines of code 254
Comment lines 278
Methods 24
Properties 14

Methods 24

Method Rating Maintainability Complexity Lines of code
normalize_targets()
C
37 28 67
meta()
C
36 24 80
normalize_array_target()
A
47 10 35
update_targets()
A
51 10 28
match_targets()
A
47 8 35
is_ip_in_array()
S
56 6 17
block()
S
57 5 15
key_matches()
S
61 5 12
rule_removed()
S
63 4 11
flag_target_for_removal()
S
63 4 10
set_body_processor()
S
73 3 5
state_values()
S
63 3 10
__construct()
S
69 2 7
dec_var()
S
70 2 6
inc_var()
S
70 2 6
get_var()
S
73 2 5
flag_rule_for_removal()
S
69 2 7
args_names()
S
67 1 9
unset_var()
S
80 1 3
normalize_header_name()
S
78 1 3
get_body_processor()
S
82 1 3
set_var()
S
80 1 3
redirect()
S
72 1 5
sanitize_output()
S
65 1 7